// C++ author 清晨与猫鱼
#include <iostream>
#include <string>
#include "Realize.h"

using namespace std;

int main(const int argc, const char** argv)
{	
	StudentBO studentBusinessObject;

    for (StudentVO& student : studentBusinessObject.getAllStudents()) {
        cout << "Student: [RollNo : " << student.getRollNo() << ", Name : " << student.getName() << " ]" << endl;
    }


    StudentVO* stu = studentBusinessObject.getStudent(0);

    stu->setName("Michael");

    for (StudentVO& student : studentBusinessObject.getAllStudents()) {
        cout << "Student: [RollNo : " << student.getRollNo() << ", Name : " << student.getName() << " ]" << endl;
    }

}